<template>
	<view class="main animated fadeIn faster">
		<view class="content position-fixed z-index-100" :style="{'paddingTop':$store.state.statusBarHeight+'px','backgroundColor':bgcolor}">
			<view class="title">
				<view class="goback" @click="goback">
					<image src="../../static/组 2457.png"></image>
				</view>
				<text>搭子铃设置</text>
			</view>
		</view>
		<view class="pl-3 list-mt-100">
			<view class="item mb-4 d-flex d-flex-between d-flex-middle">
				<text class="font32" style="color: #231815;">搭子铃状态</text>
				<switch checked="true" color="#e8b2dc" style="transform:scale(0.7)"/>
			</view>
			<view class="pb-5">
				<view class="d-flex d-flex-between d-flex-middle">
					<text class="font32">安全距离保护</text>
					<switch checked="true" color="#e8b2dc" style="transform:scale(0.7)"/>
				</view>
				<view class="font22" style="color: #C7C8C9;">不匹配距我500m以内的Ta</view>
			</view>
		</view>
		<view class="ml-5" style="width: 100%;">
			<view class="d-flex position-relative mb-0">
				<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%202048.png" class="position-absolute" style="width: 33rpx; height: 35rpx; top: 15rpx; left: 35rpx;"></image>
				<view class="font34 font-bold pt-1 linerbg-b pb-5" style="border-radius: 50rpx 50rpx 0 0; width: 100%; margin-right: 100rpx; padding-left: 80rpx;">搭子铃筛选</view>
			</view>
			<view class="d-flex d-flex-between mb-7">
				<text class="font32">Ta的性别</text>
				<view class="d-flex mr-5">
					<text class="font30 mr-1" style="color: #878787; margin-top: 4rpx;">不限</text>
					<view class="icon mr-5">
						<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%201990.png" style="width: 18rpx; height: 26rpx;"></image>
					</view>
				</view>
			</view>
			<view class="d-flex-column mb-8">
				<view class="d-flex d-flex-between">
					<text class="font32">Ta的理想年龄</text>
					<view class="d-flex mr-5">
						<text class="font30 mr-1" style="color: #878787; margin-top: 4rpx;">不限</text>
						<view class="icon mr-5">
							<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%201990.png" style="width: 18rpx; height: 26rpx;"></image>
						</view>
					</view>
				</view>
				<view class="font22" style="color: #C7C8C9;">匹配最接近这个年龄的Ta</view>
			</view>
			<view class="d-flex d-flex-between mb-7">
				<text class="font32">搭子铃音效</text>
				<view class="d-flex mr-5">
					<view class="icon mr-5">
						<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%201990.png" style="width: 18rpx; height: 26rpx;"></image>
					</view>
				</view>
			</view>
			<view class="mr-5 mb-7">
				<view class="d-flex d-flex-between d-flex-middle mr-3">
					<text class="font32">搭子铃位置信息</text>
					<switch checked="true" color="#e8b2dc" style="transform:scale(0.7)"/>
				</view>
				<view class="font22" style="color: #C7C8C9;">关闭后每日匹配次数受限</view>
			</view>
			<view class="d-flex d-flex-between mb-7">
				<text class="font32">每日匹配次数</text>
				<view class="d-flex mr-5">
					<text class="font30 mr-2" style="color: #878787; margin-top: 4rpx;">系统默认</text>
					<view class="icon mr-5">
						<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%201990.png" style="width: 18rpx; height: 26rpx;"></image>
					</view>
				</view>
			</view>
			<view class="d-flex position-relative mb-3">
				<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%202024.png" class="position-absolute" style="width: 33rpx; height: 35rpx; top: 15rpx; left: 35rpx;"></image>
				<view class="d-flex d-flex-middle pt-1 linerbg-pink pb-5" style="border-radius: 50rpx 50rpx 0 0; width: 100%; margin-right: 100rpx; padding-left: 80rpx;">
					<view class="font34 font-bold">搭子铃筛选</view>
					<view class="ml-2">超级星人尊享</view>
				</view>
			</view>
			<view class="d-flex d-flex-between mb-5">
				<text class="font32">搭子铃皮肤</text>
				<view class="d-flex mr-5">
					<view class="icon mr-5">
						<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%201990.png" style="width: 18rpx; height: 26rpx;"></image>
					</view>
				</view>
			</view>
			<view class="d-flex d-flex-between d-flex-middle mr-5 mb-5">
				<text class="font32" style="color: #231815;">优先看瞬间>5的用户</text>
				<switch class="mr-3" color="#e8b2dc" style="transform:scale(0.7)"/>
			</view>
			<view class="d-flex d-flex-between d-flex-middle mr-5 mb-3">
				<text class="font32" style="color: #231815;">优先看超级星人</text>
				<switch class="mr-3" color="#e8b2dc" style="transform:scale(0.7)"/>
			</view>
		</view>
	</view>
</template>

<script>
	
	import store from '@/store/index.js';
	export default {
		data() {
			return {
				display: "none;",
				bgcolor: "#fff",
				current: 0
			}
		},
		methods: {
			goback() {
				uni.navigateBack({
					delta: 1
				});
			},
			openPswPopup() {
				this.display = 'block',
				this.bgcolor = 'transparent'
			},
			closePopup() {
				this.display = 'none',
				this.bgcolor = '#fff'
			},
		}
	}
</script>

<style scoped lang="scss">
.main {
	background: #fff;
	overflow: hidden;
	.content {
		width: 100%;
		overflow: hidden;
	}
	.list {
		background-color: #fcfbfc;
		border-radius: 10rpx;
		margin: 20rpx 20rpx 30rpx;
		padding: 0 20rpx 20rpx 40rpx;
		.item {
			display: flex;
			justify-content: space-between;
			padding: 30rpx 0;
			border-bottom: 1px solid #e8e8e8;
			text {
				font-size: 32rpx;
				color: #555;
			}
			.icon {
				image {
					margin: 0 30rpx 8rpx 12rpx;
					width: 12rpx;
					height: 24rpx;
				}
				text {
					font-size: 28rpx;
				}
			}
		}
	}
	.clearCache {
		padding: 0 20rpx 0rpx 40rpx;
		.item {
			border: 0;
		}
	}
	.popup_box {
		width: 100%;
		height: 100vh;
		background-color: rgba(0, 0, 0, .4);
		position: fixed;
		top: 0;
		left: 0;
		.PswPopup {
			width: 450rpx;
			height: 500rpx;
			border-radius: 30rpx;
			background-color: #fff;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50% ,-50%);
			padding: 0 50rpx;
			overflow: hidden;
			.title {
				width: 100%;
				font-size: 36rpx;
				display: flex;
				justify-content: center;
				padding: 30rpx 0;
			}
			input {
				height: 80rpx;
				border-bottom: 1px solid #ccc;
				font-size: 24rpx;
				margin-bottom: 10rpx;
				padding-left: 15rpx;
				font-weight: normal;
			}
			.btns {
				height: 60rpx;
				margin-top: 60rpx;
				float: right;
				button {
					padding: 8rpx 40rpx;
					border-radius: 15rpx;
					margin: 0 30rpx;
				}
			}
		}
	}
}
.title {
	display: flex;
	align-items: center;
	font-weight: 700;
	height: 80rpx;
	.goback {
		image {
			margin-left: 50rpx;
			width: 20rpx;
			height: 30rpx;
		}
	}
	text {
		flex: 1;
		margin-right: 50rpx;
		font-size: 34rpx;
		text-align: center;
	}
}
.pt-300 {
	padding-top: 300rpx;
}
.list-mt-100 {
	margin: 200rpx 20rpx 30rpx !important;
}
.linerbg-b {
	background: linear-gradient( 180deg, #61D1E5 0%, rgba(106,211,230,0.94) 10%, rgba(131,219,234,0.78) 29%, rgba(172,230,241,0.52) 54%, rgba(227,247,250,0.17) 86%, rgba(255,255,255,0) 100%);
}
.linerbg-pink {
	background: linear-gradient( 180deg, #E8BAFC 0%, rgba(233,189,252,0.95) 9%, rgba(236,199,252,0.8) 27%, rgba(241,215,253,0.56) 50%, rgba(249,237,254,0.25) 79%, rgba(255,255,255,0) 100%);
}
</style>
